package com.study.demo.schduleTask;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.scheduling.annotation.Schedules;
import org.springframework.stereotype.Component;

@Component
public class ScheduledTask {

    @Scheduled(cron = "*/5 * * * * ?")
    public void systemPrint() {
        System.out.println("$$$$$$$");
    }
}
